package com.china08.yxyapi.entity.mg.huixue;

import java.util.List;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 慧学系统--学习计划--涉及到的知识点--答题记录,</br>
 * 
 * 本表的主键为 "学生id+计划id+知识点id+当前学习级别+试题id", 当 本学生在本次计划本知识点,当前级别子下第一次练习此题, 权重为5,
 * 
 * @author Richard Wang
 *
 */

@SuppressWarnings("serial")
@Document(collection = "yxy.stu.huixue.plan.ques")
public class YxyHuixuePlanQues extends MongoBaseEntityNoId {

	@Id
	private String id;

	@Field(value = "student_id")
	private String studentId;// 学生id

	@Field(value = "plan_id")
	private String planId;// 计划id

	@Field(value = "know_id")
	private String knowId;// 知识点id

	@Field(value = "level")
	private Integer level;// 当前学习级别，1--基础闯关，2--目标闯关 2018年03月12日

	@Field(value = "ques_id")
	private String quesId;// 试题id

	@Field(value = "knows")
	private List<String> knows;// 本试题的知识点id

	@Field(value = "weight")
	private Integer weight;// 本试题在本次计划的权重

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public String getQuesId() {
		return quesId;
	}

	public void setQuesId(String quesId) {
		this.quesId = quesId;
	}

	public List<String> getKnows() {
		return knows;
	}

	public void setKnows(List<String> knows) {
		this.knows = knows;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getKnowId() {
		return knowId;
	}

	public void setKnowId(String knowId) {
		this.knowId = knowId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

}
